FROM java:8
VOLUME /tmp
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo "Asia/Shanghai" > /etc/timezon
ADD *.jar /zh-boot-business.jar
EXPOSE 13221
ENTRYPOINT [ "java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "/zh-boot-business.jar" ]